package com.talent.service.iot.mqtt.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName：TlPortConfig
 * @Author: hszhou
 * @Date: 2024/12/31 10:07
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@ConfigurationProperties(prefix = "mqtt.port")
@Component
public class TlPortProperties {

    private int mqtt;

    private int sslMqtt;



    public int getMqtt() {
        return mqtt;
    }

    public void setMqtt(int mqtt) {
        this.mqtt = mqtt;
    }


    public int getSslMqtt() {
        return sslMqtt;
    }

    public void setSslMqtt(int sslMqtt) {
        this.sslMqtt = sslMqtt;
    }
}
